import {getMovieRequest} from  "../../api/api"
import {NOVELIST} from '../constant/movieAlias'
import store from "../store"
export const getMovieAction = () => {
    return async () => {
        const re = await getMovieRequest();
        store.dispatch({
            type : NOVELIST,
            data:re.data.data.list
        })
    }
}